home *** CD-ROM | disk | FTP | other *** search
- /* DOpus version test */
- options results
- address 'DOPUS.1'
- dopus version /* Ask for version information */
- text = "Your DOpus version is: "result /* Format result into string */
- dopus request '"'text'" OK' /* Output to a requester */
- dopus version
- newopus = result ~= 'RESULT' & translate(result,'.',' ') ~< 5.1215
- if newopus then
- text = 'You can use the ''lister request'' command.'
- else
- text = 'You can''t use the ''lister request'' command.'
- dopus request '"'text'" OK'
- exit
-